package cloud.maque.admin.service;

import cloud.maque.admin.domain.entity.MqHoliday;
import cloud.maque.framework.common.request.PaginateDataResquest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
 * @author 4color
 * @description mq_holiday服务层
 * @date 2023-03-17
 */

public interface MqHolidayService extends IService<MqHoliday> {


    /**
     * 插入一条记录
     *
     * @param mqEnum 记录对象
     * @return 是否成功
     */
    MqHoliday insert(MqHoliday mqEnum);

    /**
     * 分页查询
     *
     * @param pageReq
     * @return
     */
    PageInfo<MqHoliday> page(PaginateDataResquest<MqHoliday> pageReq);

}
